<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
  var str = 'hello world. begin hEllO s'

  console.log(str.split())
</script>
</html>